/*
 * @Author: Sunye
 * @Date: 2024-11-21 09:29:07
 * @LastEditors: sunye
 * @LastEditTime: 2025-04-13 01:22:53
 * @Description: 入口文件
 */
import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus'
// @ts-expect-error 代码是指 ts忽略 zh-cn.mjs的类型检测
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import 'element-plus/dist/index.css'
// 重置全局默认样式
import '@/assets/style/reset.css'
// unocss
import 'virtual:uno.css'
// 可选的 reset 样式
// import '@unocss/reset/tailwind.css'
// 修改font-size
import '@/assets/style/global.less'
// 引入路由
import router from './router/index.ts'
// 引入pinia
import pinia from './store/index.ts'

console.log(import.meta.env);


createApp(App)
  .use(ElementPlus, {
    locale: zhCn,
  })
  .use(pinia)
  .use(router)
  .mount('#app')
